package com.lanlian.commonlib.bean;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <pre>
 *     author : huxiaobo
 *     e-mail : huxiaobo@xlanlian.com
 *     date   : 2018/9/4 15:30
 *     desc   : todo
 *     version: 1.0
 * </pre>
 */
public class ProfitLossInfo implements Serializable {

    private Long id;
    private Long userId;
    private Long holdingId;
    private Integer side;
    private BigDecimal priceZy;
    private BigDecimal stopProfit;
    private BigDecimal priceZs;
    private BigDecimal stopLoss;
    private Integer num;
    private Integer orderType;
    private Double beyondPoint;
    private BigDecimal priceZyRt;
    private BigDecimal stopProfitRt;
    private BigDecimal priceZsRt;
    private BigDecimal stopLossRt;
    private String futureCode;
    private Integer status;
    private String setDate;
    private Double jj;
    private String contractCode;
    private BigDecimal limitPriceZy;
    private BigDecimal limitPriceZs;
    private BigDecimal limitPriceZyrt;
    private BigDecimal limitPriceZsrt;
    private double lastPrice;

    public double getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(double lastPrice) {
        this.lastPrice = lastPrice;
    }

    public BigDecimal getLimitPriceZy() {
        return limitPriceZy;
    }

    public void setLimitPriceZy(BigDecimal limitPriceZy) {
        this.limitPriceZy = limitPriceZy;
    }

    public BigDecimal getLimitPriceZs() {
        return limitPriceZs;
    }

    public void setLimitPriceZs(BigDecimal limitPriceZs) {
        this.limitPriceZs = limitPriceZs;
    }

    public BigDecimal getLimitPriceZyrt() {
        return limitPriceZyrt;
    }

    public void setLimitPriceZyrt(BigDecimal limitPriceZyrt) {
        this.limitPriceZyrt = limitPriceZyrt;
    }

    public BigDecimal getLimitPriceZsrt() {
        return limitPriceZsrt;
    }

    public void setLimitPriceZsrt(BigDecimal limitPriceZsrt) {
        this.limitPriceZsrt = limitPriceZsrt;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public Double getJj() {
        return jj;
    }

    public void setJj(Double jj) {
        this.jj = jj;
    }

    public String getSetDate() {
        return setDate;
    }

    public void setSetDate(String setDate) {
        this.setDate = setDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getHoldingId() {
        return holdingId;
    }

    public void setHoldingId(Long holdingId) {
        this.holdingId = holdingId;
    }

    public Integer getSide() {
        return side;
    }

    public void setSide(Integer side) {
        this.side = side;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getOrderType() {
        return orderType == null ? 1 : orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Double getBeyondPoint() {
        return beyondPoint;
    }

    public void setBeyondPoint(Double beyondPoint) {
        this.beyondPoint = beyondPoint;
    }

    public String getFutureCode() {
        return futureCode;
    }

    public void setFutureCode(String futureCode) {
        this.futureCode = futureCode;
    }

    public BigDecimal getPriceZy() {
        return priceZy;
    }

    public void setPriceZy(BigDecimal priceZy) {
        this.priceZy = priceZy;
    }

    public BigDecimal getStopProfit() {
        return stopProfit;
    }

    public void setStopProfit(BigDecimal stopProfit) {
        this.stopProfit = stopProfit;
    }

    public BigDecimal getPriceZs() {
        return priceZs;
    }

    public void setPriceZs(BigDecimal priceZs) {
        this.priceZs = priceZs;
    }

    public BigDecimal getStopLoss() {
        return stopLoss;
    }

    public void setStopLoss(BigDecimal stopLoss) {
        this.stopLoss = stopLoss;
    }

    public BigDecimal getPriceZyRt() {
        return priceZyRt;
    }

    public void setPriceZyRt(BigDecimal priceZyRt) {
        this.priceZyRt = priceZyRt;
    }

    public BigDecimal getStopProfitRt() {
        return stopProfitRt;
    }

    public void setStopProfitRt(BigDecimal stopProfitRt) {
        this.stopProfitRt = stopProfitRt;
    }

    public BigDecimal getPriceZsRt() {
        return priceZsRt;
    }

    public void setPriceZsRt(BigDecimal priceZsRt) {
        this.priceZsRt = priceZsRt;
    }

    public BigDecimal getStopLossRt() {
        return stopLossRt;
    }

    public void setStopLossRt(BigDecimal stopLossRt) {
        this.stopLossRt = stopLossRt;
    }
}
